-
Notifications
You must be signed in to change notification settings - Fork 118
unify(network): Move GameNetwork and GameSpy files to Core #1733
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
Please make the unify a separate Pull Request. |
771b9a9 to
d3c288d
Compare
Done. Follow up PR with refactor is #1734 |
xezon
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am working on a change to try merge file contents in GameNetwork, which then means we can move more files here.
d3c288d to
bb35461
Compare
Done. After #1735 is merged, we can move all GameNetwork + GameSpy files except GUIUtil.cpp |
f416fe8 to
6ac9e87
Compare
fa77f30 to
e1e625a
Compare
|
We can now do this move. |
e1e625a to
ebec515
Compare
xezon
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Next time, prefer using the python script to move files. It gives more confidence that things are correct and is easier to repeat.
9463a2f to
2b661e2
Compare
…SpyGameInfo) back to Generals-only
| Include/GameNetwork/GameSpy/ThreadUtils.h | ||
| # Include/GameNetwork/GameSpyChat.h | ||
| # Include/GameNetwork/GameSpyGameInfo.h | ||
| # Include/GameNetwork/GameSpyGP.h |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these unused like their CPP counterparts? If yes, can mark them so.
| Source/GameNetwork/GameMessageParser.cpp | ||
| # Source/GameNetwork/GameSpyChat.cpp # unused | ||
| # Source/GameNetwork/GameSpyGameInfo.cpp # unused | ||
| # Source/GameNetwork/GameSpyGP.cpp # unused |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These 3 lines were touched when not so necessary.
| @@ -1,5 +1,5 @@ | |||
| /* | |||
| ** Command & Conquer Generals(tm) | |||
| ** Command & Conquer Generals Zero Hour(tm) | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
3 header files were edited in Generals.
| @@ -127,44 +127,112 @@ def unify_move_file(fromGame: Game, fromFile: str, toGame: Game, toFile: str): | |||
|
|
|||
|
|
|||
| def main(): | |||
|
|
|||
| #unify_file(Game.ZEROHOUR, "GameEngine/Include/Common/crc.h", Game.CORE, "GameEngine/Include/Common/crc.h") | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please do not remove the old ones.
| #unify_move_file(Game.GENERALS, "GameEngine/Source/Common/System/GameMemoryInitPools_Generals.inl", Game.CORE, "GameEngine/Source/Common/System/GameMemoryInitPools_Generals.inl") | ||
| #unify_move_file(Game.ZEROHOUR, "GameEngine/Source/Common/System/GameMemoryInitPools_GeneralsMD.inl", Game.CORE, "GameEngine/Source/Common/System/GameMemoryInitPools_GeneralsMD.inl") | ||
| # GameNetwork Headers | ||
| unify_file(Game.ZEROHOUR, "GameEngine/Include/GameNetwork/Connection.h", Game.CORE, "GameEngine/Include/GameNetwork/Connection.h") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add them in commented state here like the others. Is not really great but I did not have better idea when making this script. Maybe we should have new scripts for individual moves, calling into this script. Then it would not need this commenting approach.
Uh oh!
There was an error while loading. Please reload this page.